package studentSystem;

public class Test {
    public static void main(String[] args) {
        Management manager=new Management();

        manager.addStu(new Students(20215730,"clq",'M'));
        manager.addStu(new Students(20215731,"sod",'F'));
        manager.addStu(new Students(20215732,"fae",'M'));
        manager.addStu(new Students(202157330,"rtd",'F'));//学号超位
        manager.addStu(new Students(20215730,"ovf",'M'));//学号重复
        manager.addStu(new Students(20215733,"das",'L'));//性别未知
        manager.addStu(new Students(20215734,"",'M'));//没有名字
        manager.printAllStu();//输出列表里全部学生

        System.out.println();

        manager.findStuByID(20215730).introduce();//通过学号查找并输出学生信息

        System.out.println();

        manager.removeStuByID(20215731);//删除该学号对应的学生
        manager.printAllStu();
    }
}
